package com.deng.api.vo;


import com.deng.api.entity.MenuMeta;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class MenuVO {

    @ApiModelProperty("组件名称")
    private String name;

    @ApiModelProperty("组件")
    private String component;

    @ApiModelProperty("排序")
    private Integer menuSort;

    @ApiModelProperty("链接地址")
    private String path;

    @ApiModelProperty("隐藏")
    private Boolean hidden;

    @ApiModelProperty("子集菜单列表")
    private List<MenuVO> children;

    @ApiModelProperty("菜单元数据")
    private MenuMeta meta;
    @ApiModelProperty("是否总是显示")
    private Boolean alwaysShow;
    @ApiModelProperty("重定向")
    private String redirect;
}
